package com.emit.config;//package com.emit.config;
//
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.context.request.async.TimeoutCallableProcessingInterceptor;
//import org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//
///**
// * @author wanglongquan
// */
//@Configuration
//public class WebMvcConfig implements WebMvcConfigurer {
//    @Override
//    public void configureAsyncSupport(final AsyncSupportConfigurer configurer) {
//        configurer.setDefaultTimeout(200000000);
//        configurer.registerCallableInterceptors(timeoutInterceptor());
//    }
//    @Bean
//    public TimeoutCallableProcessingInterceptor timeoutInterceptor() {
//        return new TimeoutCallableProcessingInterceptor();
//    }
//}
